package com.itheima.d7_IO.FileOutputStream01;

public class finallyDemo {
    public static void main(String[] args) {
        int test = test(10, 2);
        System.out.println(test);
    }
    public static int test(int a, int b) {
        try{
            int c = a /b ;
            return  c;
        }catch (Exception e) {
            return -1;
        }finally {
            System.out.println("test");
        }
    }
}
